package com.supermarket.mapper;

import com.supermarket.entity.Staff;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StaffMapper {
    List<Staff> findAll();

    Integer findCount();

    void add(Staff staff);

    void deleteById(String staffID);

    void updateStaff(Staff staff);

    void deleteByIds(Integer[] ids);

    List<Staff> findByIds(Integer[] ids);

    void save(List<Staff> cachedDataList);
}
